package cn.hd.userService.service.function;

import cn.hd.commonService.entity.SysFunction;
import cn.hd.commonService.vo.function.FunctionAuthorityVo;
import cn.hd.userService.vo.function.FunctionInfoVo;
import cn.hd.userService.vo.function.FunctionVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hd
 * @since 2022-06-26
 */
public interface ISysFunctionService extends IService<SysFunction> {

    public void saveOrUpdateFunction(SysFunction sysFunction);

    public void batchDelete(String functionIds);

    public List<FunctionInfoVo> getFunctionList(FunctionVo functionVo);

    public List<FunctionAuthorityVo> getAuthorityListByUserId(Integer userId);

    public List<SysFunction> getFunctionParentList(String funcType,String functionName,String parentId);

    public void enableFunction(int functionId,int flag);

    public List<SysFunction> getFunctionList(List<Integer> functionId);

}
